package com.spring.demo.core.service.impl;

import java.util.Map;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.spring.demo.core.entity.User;
import com.spring.demo.core.service.ICacheService;

@Service
public class CacheService implements ICacheService {

	@Resource(name = "userMap")
	private Map<Long, User> userMap;

	public CacheService() {
	}

	@Override
	public Map<Long, User> getUserMap() {
		return userMap;
	}
}
